<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>yindume</title>
    <link rel="shortcut icon" href="/public/favicon.ico" />
    <link rel="stylesheet" href="/public/css/public.css">
    <link rel="stylesheet" href="/public/css/admin.css">
    <link rel="stylesheet" href="/public/css/iconfont/iconfont.css">
    <script src="/public/js/jquery-1.12.4.min.js"></script>
    <script src="/public/js/admin.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../ueditor/ueditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="../../../ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<header class="header">
    <div class="header-box">
        <div class="header-logo"><a href="/">yindume</a></div>
        <ul>
            <li><a class="main-nav-a" href="/admin">首页</a></li>
            <li><a class="main-nav-a" href="/admin/user">用户管理</a></li>
            <li>
                <a class="main-nav-a" href="/admin/category">分类管理</a>
                <ol>
                    <li><a href="/admin/category/add">添加分类</a></li>
                </ol>
            </li>
            <li>
                <a class="main-nav-a" href="/admin/content">内容管理</a>
                <ol>
                    <li><a href="/admin/content/add">添加内容</a></li>
                </ol>
            </li>
        </ul>
        <div class="header-user">
            管理员：{{ userInfo.nickname }}<span class="iconfont icon-xiala"></span>
            <ul>
                <li><a href="/" target="_blank">去前台</a></li>
                <li><a href="#">退出</a></li>
            </ul>
        </div>
    </div>
</header>


<div class="admin-main">
    {% block main %}{% endblock %}
</div>



<footer>
    <div class="footer-main">
        @yindume
    </div>
</footer>



<div id="admin-hint">提示信息</div>
</body>
</html>